package com.mars.module.admin.request;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.mars.common.request.PageRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * 患者病例信息请求对象 sys_user_case_information
 *
 * @author mars
 * @date 2024-04-11
 */
@Data
@ApiModel(value = "患者病例信息对象")
@EqualsAndHashCode(callSuper = true)
public class SysUserCaseInformationRequest extends PageRequest{



    /**
     * ID
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @ApiModelProperty(value = "id")
    private Long id;

    /**
     * 用户
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @ApiModelProperty(value = "用户")
    private Long userId;

    /**
     * 发病时间
     */
    @ApiModelProperty(value = "发病时间")
    private LocalDate morbidityDate;

    /**
     * 以往病史
     */
    @ApiModelProperty(value = "以往病史")
    private String medicalHistory;

    /**
     * 现病史
     */
    @ApiModelProperty(value = "现病史")
    private String currentMedicalHistory;

    /**
     * 症状
     */
    @ApiModelProperty(value = "症状")
    private String disease;

    /**
     * 体征
     */
    @ApiModelProperty(value = "体征")
    private String sign;

    /**
     * 创建时间
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    /**
     * 创建人名称
     */
    @ApiModelProperty(value = "创建人名称")
    private String createByName;

    @ApiModelProperty(value = "患者姓名")
    private String userName;
}
